var t,
  e = require("@/utils/jump"),
  r = (t = require("@/config/page")) && t.__esModule ? t : { default: t },
  a = require("@/utils/report");
Component({
  properties: {
    info: { type: Object, default: {} },
    come: { type: String, default: "1" },
  },
  data: {},
  methods: {
    toAll: function () {
      var t = this.data.come;
      (0, a.report)("fpage_act_click", {}),
        (0, a.report)("act_show", { source: t }),
        (0, e.navigateTo)(r.default.PAGE_COURSE_TRANSFER, {
          url: "plugin://course/activity-list",
        });
    },
    onItem: function (t) {
      var i = this.data.come,
        o = t.currentTarget.dataset.item;
      (0, a.report)("fpage_act_click", {}),
        (0, a.report)("act_show", { source: i }),
        (0, e.navigateTo)(r.default.PAGE_COURSE_TRANSFER, {
          url: "plugin://course/activity-detail",
          id: o.id,
        });
    },
  },
});
